import api from '@/api/api'
import request from '@/utils/request'

// 登录
export function login(data) {
  return request({
    url: api.system.login,
    method: 'POST',
    data
  })
}

// 发送短信
export function smsSend(data) {
  return request({
    url: api.system.smsSend,
    method: 'POST',
    params: data
  })
}

// 员工登录
export function staffLogin(data) {
  return request({
    url: api.system.staffLogin,
    method: 'POST',
    data
  })
}


// 员工登录
export function getCustomerInfo(data) {
  return request({
    url: api.system.customerInfo,
    method: 'GET',
    params: data
  })
}

